<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        $jsonstr = json_encode(array('status'=>1));
        echo $jsonstr;
    }
}